Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add -C target-cpu=mvp rust flag to build command #838

Merged
merged 1 commit into from
Nov 23, 2022
Merged

Conversation

agryaznov
Copy link
Contributor

@agryaznov agryaznov commented Nov 22, 2022

nightly rust adds some new WASM features which are out of WASM MVP and hence not supported by pallet_contracts .

This change should catch\avoid such cases on the cargo contract build step.

Fixes #832

@agryaznov
Copy link
Contributor Author

I think we should backport this to 1.5.x as well

Copy link
Collaborator

@ascjones ascjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @athei?

@athei
Copy link
Contributor

athei commented Nov 22, 2022

LGTM. @athei?

jup. I am curious if this actually resolves the bug. It is just a hunch of mine.

@ascjones ascjones merged commit c217202 into master Nov 23, 2022
@ascjones ascjones deleted the ag-fix-no-mvp branch November 23, 2022 08:48
@wottpal
Copy link

wottpal commented Dec 2, 2022

gm. when will there be v1 & v2 tags/releases with this inside?

agryaznov added a commit that referenced this pull request Dec 9, 2022
@athei
Copy link
Contributor

athei commented Dec 9, 2022

Should happen pretty soon. Probably today there should be a release. No promises, though. @agryaznov already started the branch. And I think we only backport this single chance for now.

@agryaznov
Copy link
Contributor Author

released v1.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CodeRejected - Can't decode wasm code
4 participants